﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Common;
using WaterRevenueMS.Domain.ViewModels.Maintenance.RepairRecord;

namespace WaterRevenueMS.Core.Service.Maintenance
{

    public interface IRepairRecordService
    {
        IQueryable<WaterRevenueMS.Componnent.Entities.Maintenance.RepairRecord> RepairRecords { get; }

        OperationResult Insert(RepairRecordModel model);

        OperationResult Update(RepairRecordModel model);

        void GetLiuSModel(RepairRecordModel model);

        void ChangeState(RepairRecordModel model);


        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        OperationResult Delete(int Id);
    }
}
